home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C & C++ Multimedia Cyber Classroom
/
C and C++ Multimedia Cyber Classroom (Prentice Hall) (1998).iso
/
cpphtp2
/
code.jar
/
code
/
ch15
/
fig15_22.txt
< prev
next >
Wrap
Text File
|
1998-02-27
|
339b
|
15 lines
32 10 rem determine the larger of two integers
33 20 input s
34 30 input t
35 32 rem
36 35 rem test if s >= t
37 40 if s >= t goto 90
38 45 rem
39 50 rem t is greater than s, so print t
40 60 print t
41 70 goto 99
42 75 rem
43 80 rem s is greater than or equal to t, so print s
44 90 print s
45 99 end